package com.bwie.service;

import com.bwie.pojo.TbCust;
import com.bwie.pojo.TbCustRecord;
import com.bwie.pojo.TbUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.utils.Result;
import com.bwie.vo.LoginInfoVo;
import com.bwie.vo.PageInfoVo;
import com.bwie.vo.PpVo;

/**
* @author Yoo19
* @description 针对表【tb_user(用户表)】的数据库操作Service
* @createDate 2025-06-17 09:15:41
*/
public interface TbUserService extends IService<TbUser> {

    Result sendCode(String mobile);

    Result login(LoginInfoVo loginInfoVo);

    Result getCustList(PageInfoVo pageInfoVo);

    Result getDictList(Integer typeId);

    Result addCust(TbCust tbCust);

    Result getCustDetail(Integer custId);

    Result getPeopleList(PpVo ppVo, Integer custId);

    Result addUser(TbUser tbUser);

    Result getUserRole();

    Result getRecord(Integer custId);

    Result addRecord(TbCustRecord tbCustRecord);
}
